try:
    num = int(input('请输入整数:'))
    result = 8 / num
except ZeroDivisionError:
    print('除数不能是0')
# except ValueError:
#     print('请输入整数')
except Exception as result:
    print('未知错误 %s' % result)

